<?php

namespace Model\CourseBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * CourseExam
 *
 * @ORM\Table(name="courseExam")
 * @ORM\Entity(repositoryClass="Model\CourseBundle\Repository\CourseExamRepository")
 */
class CourseExam
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="courseId", type="integer")
     */
    private $courseId;

    /**
     * @var int
     *
     * @ORM\Column(name="examId", type="integer")
     */
    private $examId;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set courseId
     *
     * @param integer $courseId
     *
     * @return CourseExam
     */
    public function setCourseId($courseId)
    {
        $this->courseId = $courseId;

        return $this;
    }

    /**
     * Get courseId
     *
     * @return int
     */
    public function getCourseId()
    {
        return $this->courseId;
    }

    /**
     * Set examId
     *
     * @param integer $examId
     *
     * @return CourseExam
     */
    public function setExamId($examId)
    {
        $this->examId = $examId;

        return $this;
    }

    /**
     * Get examId
     *
     * @return int
     */
    public function getExamId()
    {
        return $this->examId;
    }
}

